package com.vdm.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SettlementInfo {
    private Integer id;

    private String vehicleNum;

    private Float totalMoney;

    private Float totalKilometres;

    private Float fuelMoney;

    private Float bridgeMoney;

    private Float stopMoney;

    private Float repairMoney;

    private Float tireMoney;

    private Float subsidizeMoney;

    private Float totalAmount;

    private Float grossProfit;

    private Float otherMoney;

    private Float wages;

    private Float gpsMoney;

    private Float premium;

    private Float loan;

    private Float dividends;

    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String settlement;

    private String createBy;

    @Override
    public String toString() {
        return "SettlementInfo{" +
                "id=" + id +
                ", vehicleNum='" + vehicleNum + '\'' +
                ", totalMoney=" + totalMoney +
                ", totalKilometres=" + totalKilometres +
                ", fuelMoney=" + fuelMoney +
                ", bridgeMoney=" + bridgeMoney +
                ", stopMoney=" + stopMoney +
                ", repairMoney=" + repairMoney +
                ", tireMoney=" + tireMoney +
                ", subsidizeMoney=" + subsidizeMoney +
                ", totalAmount=" + totalAmount +
                ", grossProfit=" + grossProfit +
                ", otherMoney=" + otherMoney +
                ", wages=" + wages +
                ", gpsMoney=" + gpsMoney +
                ", premium=" + premium +
                ", loan=" + loan +
                ", dividends=" + dividends +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", settlement='" + settlement + '\'' +
                ", createBy='" + createBy + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVehicleNum() {
        return vehicleNum;
    }

    public void setVehicleNum(String vehicleNum) {
        this.vehicleNum = vehicleNum == null ? null : vehicleNum.trim();
    }

    public Float getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Float totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Float getTotalKilometres() {
        return totalKilometres;
    }

    public void setTotalKilometres(Float totalKilometres) {
        this.totalKilometres = totalKilometres;
    }

    public Float getFuelMoney() {
        return fuelMoney;
    }

    public void setFuelMoney(Float fuelMoney) {
        this.fuelMoney = fuelMoney;
    }

    public Float getBridgeMoney() {
        return bridgeMoney;
    }

    public void setBridgeMoney(Float bridgeMoney) {
        this.bridgeMoney = bridgeMoney;
    }

    public Float getStopMoney() {
        return stopMoney;
    }

    public void setStopMoney(Float stopMoney) {
        this.stopMoney = stopMoney;
    }

    public Float getRepairMoney() {
        return repairMoney;
    }

    public void setRepairMoney(Float repairMoney) {
        this.repairMoney = repairMoney;
    }

    public Float getTireMoney() {
        return tireMoney;
    }

    public void setTireMoney(Float tireMoney) {
        this.tireMoney = tireMoney;
    }

    public Float getSubsidizeMoney() {
        return subsidizeMoney;
    }

    public void setSubsidizeMoney(Float subsidizeMoney) {
        this.subsidizeMoney = subsidizeMoney;
    }

    public Float getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Float totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Float getGrossProfit() {
        return grossProfit;
    }

    public void setGrossProfit(Float grossProfit) {
        this.grossProfit = grossProfit;
    }

    public Float getOtherMoney() {
        return otherMoney;
    }

    public void setOtherMoney(Float otherMoney) {
        this.otherMoney = otherMoney;
    }

    public Float getWages() {
        return wages;
    }

    public void setWages(Float wages) {
        this.wages = wages;
    }

    public Float getGpsMoney() {
        return gpsMoney;
    }

    public void setGpsMoney(Float gpsMoney) {
        this.gpsMoney = gpsMoney;
    }

    public Float getPremium() {
        return premium;
    }

    public void setPremium(Float premium) {
        this.premium = premium;
    }

    public Float getLoan() {
        return loan;
    }

    public void setLoan(Float loan) {
        this.loan = loan;
    }

    public Float getDividends() {
        return dividends;
    }

    public void setDividends(Float dividends) {
        this.dividends = dividends;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSettlement() {
        return settlement;
    }

    public void setSettlement(String settlement) {
        this.settlement = settlement;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }
}